//
//  ManagementViewController.h
//  HondaPro_2
//
//  Created by ht on 13-6-24.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NIDropDown.h"
#import "BookingDetailsViewController.h"
#import "NewPopViewController.h"
#import "popContentViewController.h"
#import "DDPopoverBackgroundView.h"
#import "ServiceHomeViewController.h"
#import "ServiceAssignedViewController.h"
@interface ManagementViewController : UIViewController<UITableViewDelegate,UITableViewDataSource,UIActionSheetDelegate,ContentViewControllerDelegate,NSURLConnectionDataDelegate,NewPopViewDelegate>
{
    BOOL _choose;
    BOOL _state;
    NIDropDown *dropDown;
    NSString *precontractId;
    
    popContentViewController *contentCon;
    UIViewController *panleCon;
}
@property(nonatomic,strong)ServiceHomeViewController *serviceHomeViewController;
@property(nonatomic,strong)BookingDetailsViewController *secondDetailViewController;
@property(nonatomic,strong)NewPopViewController *xZengPopViewController;
//@property(nonatomic,strong)ServiceAssignedViewController *serviceAssignedViewController;

@property(nonatomic,strong)UITableView *detailed1;

@property(nonatomic,strong)UIButton *queryBtn;
@property(nonatomic,strong)UIButton *theNewBtn;
@property(nonatomic,strong)UIDatePicker *datePicker;

@property(nonatomic,strong)UILabel *thelabel1;
@property(nonatomic,strong)UIButton *thebutton1;
@property(nonatomic,strong)UILabel *thelabel2;
@property(nonatomic,strong)UIButton *thebutton2;
@property(nonatomic,strong)UILabel *thelabel3;
@property(nonatomic,strong)UIButton *thebutton3;
@property(nonatomic,strong)UILabel *thelabel4;
@property(nonatomic,strong)UIButton *thebutton4;

@property(nonatomic,strong)UILabel *consultantlabel;
@property(nonatomic,strong)UILabel *registrationlabel;
@property(nonatomic,strong)UIButton *consultantbutton;
@property(nonatomic,strong)UIButton *registrationbutton;

@property(nonatomic,strong)NSString *dateString;

@property(nonatomic,strong)UILabel *tableViewlabel1;
@property(nonatomic,strong)UILabel *tableViewlabel2;
@property(nonatomic,strong)UILabel *tableViewlabel3;
@property(nonatomic,strong)UILabel *tableViewlabel4;
@property(nonatomic,strong)UILabel *tableViewlabel5;
@property(nonatomic,strong)UILabel *tableViewlabel6;
@property(nonatomic,strong)UILabel *tableViewlabel7;
@property(nonatomic,strong)UILabel *tableViewlabel8;
@property(nonatomic,strong)UILabel *tableViewlabel9;
@property(nonatomic,strong)UILabel *tableViewlabel10;
@property(nonatomic,strong)UILabel *tableViewlabel11;

@property(nonatomic,strong)UITextField *cardtextfield;


@property(nonatomic,strong)NSMutableArray *queryarray;
@property(nonatomic,strong)NSMutableDictionary *queryDic;

@property(nonatomic,strong)NSMutableArray *tabelViewLabelArray;
@property(nonatomic,strong)NSMutableArray *tabelViewLabelArray1;
@property(nonatomic,strong)NSMutableArray *tabelViewLabelArray2;
@property(nonatomic,strong)NSMutableArray *tabelViewLabelArray3;
//正常 已超期 已来厂
@property(nonatomic,strong)UIButton *phasebutton1;
@property(nonatomic,strong)UIButton *phasebutton2;
@property(nonatomic,strong)UIButton *phasebutton3;
//已做单
@property(nonatomic,strong)UIButton *phasebutton4;

@property(nonatomic )NSInteger currentItem;
@property(nonatomic,strong)UIPopoverController *popCon;

@property(nonatomic,strong)NSString *nameForiD;
@property(nonatomic,strong)NSMutableDictionary *xiangXiDit;

//saName 服务顾问
@property(nonatomic , strong)NSMutableArray *saArray;
@property(nonatomic , strong)NSString *saId;
// 登记人
@property(nonatomic , strong)NSMutableArray *inputPersonArray;
@property(nonatomic , strong)NSString *inputPersonId;

@property(nonatomic,strong)NSString *gongChangId;
@property(nonatomic,strong)NSMutableArray *gWeiNameArray;

@property(nonatomic,strong)NSString *string1;

-(void)addNotification;
-(void)removeNotification;

-(void)callTheNewBut;

@end

